HermiteSpline.Create
Description:
Creates a Hermite spline with default tangency at its endpoints.
Creates a Hermite spline with default tangency at its endpoints.
Remarks:
The tangents at the ends of the spline are computed from the control points.
The tangents at the ends of the spline are computed from the control points.
Overloads (2):
public static HermiteSpline Create(
IList<XYZ> controlPoints,
bool periodic
)
-
IList<XYZ>controlPointsThe control points of the Hermite spline.
-
BooleanperiodicTrue if the Hermite spline is to be periodic, false otherwise.
-
The control points array is invalid, because it doesn't contain the minimum number of points (2).
-
A non-optional argument was NULL
-
Curve length is too small for Revit's tolerance (as identified by Application.ShortCurveTolerance).
-
Unable to construct valid HermiteSpline from given inputs.